package com.xm;

/**
 * @Author：xm
 * @Project：runoob
 * @Date：2024/7/10 16:16
 */

public class Abstract03 implements Interface03 {
    @Override
    public void eat() {
        System.out.println("来自接口中eat方法");
    }

    @Override
    public void drink() {
        System.out.println("来自接口中drink方法");
    }

    public static void main(String[] args) {
        Abstract03 abstract03 = new Abstract03();
        abstract03.eat();
        abstract03.drink();
    }
}
